package com.c.ctgproject.entity.doorkeeper

/**
 *作者:LiBW
 *创建日期: 2020/9/18
 *描述: 物料出场信息获取entity
 */
class DoorkeeperMaterialOutEntity {
    /**
     * status : 0
     * msg : null
     * data : {"total":3,"list":[{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":1,"loadingNumber":11,"suttleWeight":10.3,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏K985KO"},{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":1,"loadingNumber":11,"suttleWeight":10.3,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏B985KO"},{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":7,"loadingNumber":2,"suttleWeight":11,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏K66668"}],"pageNum":1,"pageSize":20,"size":3,"startRow":1,"endRow":3,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean {
        /**
         * total : 3
         * list : [{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":1,"loadingNumber":11,"suttleWeight":10.3,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏K985KO"},{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":1,"loadingNumber":11,"suttleWeight":10.3,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏B985KO"},{"materialSalesOrderId":7,"materialSalesNo":"WL20090004","materialOutId":7,"loadingNumber":2,"suttleWeight":11,"createBy":1430,"userName":"多角色","materialName":"发动机三级","truckPlate":"苏K66668"}]
         * pageNum : 1
         * pageSize : 20
         * size : 3
         * startRow : 1
         * endRow : 3
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null

        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean {
            /**
             * materialSalesOrderId : 7
             * materialSalesNo : WL20090004
             * materialOutId : 1
             * loadingNumber : 11
             * suttleWeight : 10.3
             * createBy : 1430
             * userName : 多角色
             * materialName : 发动机三级
             * truckPlate : 苏K985KO
             */
            var materialSalesOrderId = 0
            var materialSalesNo: String? = null
            var materialOutId = 0
            var loadingNumber = 0
            var suttleWeight = 0.0
            var createBy = 0
            var userName: String? = null
            var materialName: String? = null
            var truckPlate: String? = null
            var truckTrafficId=0
        }
    }
}